package com.household.feigns;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.household.domain.entity.User;
import com.household.domain.vo.AdminUserVO;
import com.household.domain.vo.BootstrapTableVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created By wanzhen
 * 2023. 2023/4/7. 22:45
 */

@FeignClient(value = "LOGINREGISTER")
public interface LoginClient {

    @RequestMapping("/admin/feign/list")
    BootstrapTableVO<AdminUserVO> pageAdminUserController(@RequestParam("page") Page<User> page, @RequestParam("wrapper") QueryWrapper<User> wrapper);
}
